package com.wondertek.service.dto.business.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @description:
 * @author: qinjianhui
 * @create: 2024-08-08 16:36
 **/
@Data
public class DevicePageRes {
    @Schema(name = "id",description = "id")
    private String id;

    @Schema(name = "code",description = "code")
    private String code;

    @Schema(name = "name",description = "name")
    private String name;

    @Schema(name = "type",description = "1:直连设备，2:网关配件")
    private Integer type;

    @Schema(name = "typeDetailCategory",description = "1-ipc,2-网关,3-其他,99配件")
    private String typeDetailCategory;

    @Schema(name = "snCode",description = "snCode")
    private String snCode;

    @Schema(name = "skCode",description = "skCode")
    private String skCode;

    @Schema(name = "status",description = "设备状态:1在线，0离线")
    private Integer status = 0;

    @Schema(name = "roomName",description = "房间名称")
    private String roomName;

    @Schema(name = "networkName",description = "网关名称")
    private String networkName;

    @Schema(name = "deviceSn",description = "网关sn码")
    private String deviceSn;

    @Schema(name = "typeName",description = "设备类型名称")
    private String typeName;

    @Schema(name = "accessoryType",description = "1-烟感，2-无线键盘，3-室外信号，4-门磁，5-升级门磁，6-pir相机，7-智能监控相机，8-Alarm KIT")
    private String accessoryType;

    @Schema(name = "roomId",description = "房间id")
    private String roomId;

    @Schema(name = "deviceId",description = "网关id")
    private String deviceId;

    @Schema(name = "modeType",description = "布防状态：1-出门，2-在家，3-撤防")
    private Integer modeType;

    @Schema(name = "notAlarmDay",description = "长时间未报警天数")
    private Integer notAlarmDay;

    // onLine offLine  导出用
    private String deviceStatus;
}

